<template>
	<view>
		<block >
			<Six  v-if="info.cid==1" :body="info.body" :bijishow="bijishow"  @userinputChange="userinputChange"></Six>
			<Four v-if="info.cid==2" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Four>
			<Nine  v-if="info.cid == 3" :body="info.body" :bijishow="bijishow" @userinputChange="userinputChange"></Nine>
			<!-- 九宫对线数独 -->
			<Alignment  v-if="info.cid == 4" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Alignment>
			
			<Killer v-if="info.cid == 5" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Killer>
			<Sixalignment v-if="info.cid == 7" :body="info.body"  :bijishow="bijishow"  @userinputChange="userinputChange"></Sixalignment>
			<Sixcontinuous v-if="info.cid == 8" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Sixcontinuous>
			<Sixinequalitysign  v-if="info.cid ==9" :body="info.body"  :bijishow="bijishow"  @userinputChange="userinputChange"></Sixinequalitysign>
			<!-- 六宫格质数 -->
			<Sixprime  v-if="info.cid ==10" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Sixprime>  
			<!-- 六宫格克隆数独 -->
			<Sixclone  v-if="info.cid ==16" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Sixclone>
			<!-- 六宫格无缘数独 -->
			<Sixwithout  v-if="info.cid ==17" :body="info.body"  :bijishow="bijishow"  @userinputChange="userinputChange"></Sixwithout>
			<!-- 六宫格箭头数独 -->
			<Sixarrows v-if="info.cid ==19" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Sixarrows>
			<!-- 六宫加法数独 -->
			<Sixaddition v-if="info.cid ==15" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Sixaddition>
			<!-- 六宫连续数独1 -->
			<Sixcontinuous1 v-if="info.cid ==18" :body="info.body"  :bijishow="bijishow"  @userinputChange="userinputChange"></Sixcontinuous1>
			<!-- 九宫格克隆数独 -->
			<Nineclone  v-if="info.cid ==11" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Nineclone>  
			<!-- 九宫格加法数独 -->
			<Nineaddition  v-if="info.cid ==12" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Nineaddition>
			<!-- 九宫格箭头数独 -->
			<Ninearrows v-if="info.cid ==13" :body="info.body"  :bijishow="bijishow" @userinputChange="userinputChange"></Ninearrows>
			<!-- 九宫格连续数独 -->
			<Ninecontinuous v-if="info.cid ==14" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Ninecontinuous>
			<!-- 九宫锯齿数独 -->
			<Serrated  v-if="info.cid ==6" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Serrated>
			<!-- 九宫奇数数独 -->
			<Nineuneven v-if="info.cid ==21" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Nineuneven>
			<!-- 九宫不连续数独 -->
			<Ninenocontinuous v-if="info.cid ==22" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Ninenocontinuous>
			<!-- 九宫堡垒数独 -->
			<Ninefort v-if="info.cid == 23" :body="info.body"   :bijishow="bijishow" @userinputChange="userinputChange"></Ninefort>
		</block>
	</view>
</template>

<script>
	import Nine from "./nine/nine.vue"
	import Four from "./four/four.vue"
	import Six from "./six/six.vue"
	import Alignment from  "./nine/alignment.vue"
	import Killer from  "./nine/killer.vue"
	// 
	import Sixalignment from "./six/sixalignment.vue"  //六宫格对角线
	import Sixcontinuous from "./six/sixcontinuous.vue"  //连续六宫格
	import Sixcontinuous1 from "./six/sixcontinuous1.vue"  //六宫格连续数独1
	
	import Sixinequalitysign from "./six/sixinequalitysign.vue"   //六宫格不等号
	import Sixprime from "./six/sixprime.vue"    //六宫格质数
	import Sixclone from "./six/sixclone.vue"    //六宫克隆数独
	import Sixwithout from "./six/sixwithout.vue"  //六宫无缘数独 
	import Sixarrows from "./six/sixarrows.vue"    //六宫箭头数独
	import Sixaddition from "./six/sixaddition.vue"  //六宫加法数独
	
	import Nineclone from "./nine/nineclone.vue"    //九宫格克隆数独
	import Nineaddition from "./nine/nineaddition.vue"  //九宫格加法数独
	import Ninearrows  from "./nine/ninearrows.vue"   //九宫格箭头数独
	import Serrated from "./nine/serrated.vue"   //九宫锯齿数独
	import Ninecontinuous  from "./nine/ninecontinuous.vue"    //九宫格连续数独
	import Nineuneven  from "./nine/nineuneven.vue"    //九宫格奇数数独
	import Ninenocontinuous from "./nine/ninenocontinuous.vue"   //九宫不连续数独
	import Ninefort  from "./nine/ninefort.vue"  //九宫堡垒数独
	export default {
		props: ['info','bijishow'],
		watch:{
			info(e){
				this.info  = e;
			},
			bijishow(e){
				this.bijishow  = e;
			}
		},
		methods:{
			userinputChange(e){
				this.$emit('userinputChange',e);
			}
		},
		components:{
			Nine,
			Four,Six,Alignment,Killer,Sixalignment,Sixcontinuous,Sixinequalitysign,Sixprime,
			Nineclone,Nineaddition,Ninearrows,Ninecontinuous,Sixclone,Sixwithout,Sixarrows,Sixcontinuous1,Sixaddition,Serrated,
			Nineuneven,Ninenocontinuous,Ninefort
		},
		
	}
</script>

<style>
</style>